#!/usr/bin/python
# -*- coding: UTF-8 -*-

from flask import Flask
from flask import render_template
app = Flask(__name__)


@app.route('/temp/')
@app.route('/temp/<name>')
def temp(name=None):
    return render_template('hello.html', name=name)

if __name__ == '__main__':
    app.debug = True # 打开调试模式
    app.run()

